
  <div class="x_panel">
    <div class="x_content row">
      <div class="col-xs-12">
        <form class="form-horizontal form-label-left" action="{$actionUrl}" method="post" enctype="multipart/form-data">
          <div class="form-group">
            <label class="control-label col-md-2 col-sm-4 col-xs-12">文章名称：</label>
            <div class="checkbox col-md-10 col-sm-8 col-xs-12">
              <input class="form-control col-md-3 col-xs-12" required="required" type="text" name="form[article_name]" value="{$article.article_name}">
            </div>



            <label class="control-label col-md-2 col-sm-4 col-xs-12">内容：</label>
            <div class="col-md-10 col-sm-9 col-xs-12">
              <textarea rows="20" id="J_detail" name="form[content]">
                  {$article.content}
              </textarea>
            </div>

          </div>
          <div class="col-md-3 col-sm-12 col-xs-12 col-md-offset-4 col-sm-offset-4">
            <input name="article_id" type="hidden" value="{$article.article_id}">
            <button class="btn btn-primary" type="submit">更新</button>
          </div>
        </form>
      </div>
    </div>
  </div>

  <script src="{$theme}/js/source/ueditor/ueditor.config.js"></script>
  <script src="{$theme}/js/source/ueditor/ueditor.all.min.js"></script>
  <script src="{$theme}/js/source/ueditor/lang/zh-cn/zh-cn.js"></script>
  <script src="{$theme}/js/source/layer/layer.js"></script>
  <script src="{$theme}/libs/js/select/select2.full.js"></script>
  <script>
      window.UEDITOR_CONFIG.initialFrameHeight = 320;

      UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
      UE.Editor.prototype.getActionUrl = function(action) {
          if (action == 'uploadimage' || action == 'uploadscrawl' || action == 'uploadimage') {
              return '/index/upload.html';
          } else {
              return this._bkGetActionUrl.call(this, action);
          }
      }
      var detailUe = UE.getEditor('J_detail');
  </script>